<?php
/*******************************************************************************
 * $Date:: Jan 7, 2011 6:09:06 PM                                              $
 * $Revision:                                                                  $
 * $Author:: Tuan Duong                                                        $
 * $Comment::                                                                  $
 ******************************************************************************/ 
/**
 * Description here...
 * 
 * @package Lua
 * @subpackage ##Subpackage##
 * @author Tuan Duong <tuan[at]smartdzine[dot]com>
 * @version 
 */

abstract class Lua_Router_Abstract
{
    /**
     * @var string
     */
    protected $controller;

    /**
     * @var string
     */
    protected $module;

    /**
     * @var string
     */
    protected $action;

    /**
     * @var array
     */
    protected $params = array();

    /**
     * Get current conroller
     * @return string
     */
    public function getController()
    {
        return $this->controller;
    }

    /**
     * Get current action
     * @return string
     */
    public function getAction()
    {
        return $this->action;
    }

    /**
     * Get current module
     * @return string
     */
    public function getModule()
    {
        return $this->module;
    }

    public function getParams()
    {
        return $this->params;
    }

    /**
     * @param  string $module
     */
    public function setModule($module)
    {
        $this->module = $module;   
    }

    /**
     * @param  string $action
     */
    public function setAction($action)
    {
        $this->action = $action;
    }

    /**
     * @param  string $controller
     */
    public function setController($controller)
    {
        $this->controller = $controller;
    }
}